
The Command Line, File Paths, Git
Week 1
Topics:
- Installing Software | Command-line | Git version control
Assignments
- Read: What is Git all about?
- Install Git, R, and R-Studio on your laptop (part of Assignment 1)
- Be ready to explain what Git, R, and R-Studio are.
- Do Assignment 1 and upload a link to your new GitHub account to Canvas.
- Take a look at this document to see where this class is going
Resources
Practice
- Make 10 separate changes and commits to your README.md file and push each one to GitHub
Back to top of page
Week 2
Topics
- File paths | Pipes | Redirection | Wildcards | Essential Unix Commands | Parameters
Assignments
Resources
Practice
Back to top of page
Getting to Know R
Week 3
Topics
- R Data types and conversions | Reading and Writing Files | For-Loops | Packages and Projects
Assignments
Resources
Practice
Back to top of page
Week 4
Topics
- Logical Operations | Subsetting | “Grammar of Graphics” ggplot Intro
Assignments
- Read through the materials in the Resources section below
- Assignment 5
- Exam 1
Resources
Practice
Back to top of page
Visualizing a Data Set
Week 5
Topics
- ggplot | patchwork | ggforce
Assignments
Resources
Practice
Back to top of page
Week 6
Topics
- Tidy Data | dplyr verbs | tidyr verbs
Assignments
Resources
Practice
Back to top of page
Week 7
Topics
Assignments
- Read This Handout
- Read This Paper
- Create a validated Excel Spreadsheet for data collection for the experiment we design in class
- Exam 2
Resources
Practice
Back to top of page
Getting More From R
Week 8
Topics
- Writing Functions | Conditional Execution | source()
Assignments - Watch this video from Jenny Bryan about debugging
Resources
Practice
- Write a function that returns the min, max, and mean of any set of real numbers
- Write a function that takes a data frame and returns a new data frame with one random column removed
- Write a function that takes a data frame… if there are more than 3 columns, your function should return the column names as-is; if there are 3 or fewer columns, your function should return the column names in reverse order.
- Write a useful function that you might want to use in the future (your choice)
- Put all of these functions into a new R script and save it in your main data course repository
- In a new empty R script, call your functions with source() and test them out
Back to top of page
Model Building and Testing
Week 9
Topics
- Building and Testing Models
Assignments
Resources
Practice
Back to top of page
Week 10
Topics
- More models | Statistical Tests
Assignments
Resources
Practice
Back to top of page
Communicating Your Results
Week 11
Topics
- R-Markdown | Reproducible Reports
Assignments
Resources
Practice
- Using the resources above, generate a markdown document that analyzes the “iris” data set and push it to a new GitHub repository named Iris_Markdown
- Play with options and code to create a document that looks good and presents your analysis and results clearly
- This is similar to Assignment_9, but I’m asking for a brand new “Iris_Markdown” repository that is self-contained.
Back to top of page
Week 12
Topics
- Proper Project Organization | Collaboration
Assignments
- Peer evaluation of Assignment 9 (Organization, Portability, Accuracy, Understandablity)
- Exam 3
Resources
Practice
- Peer evaluations of Iris_Markdown repositories (from last week); Clean them up and make them more organized
Back to top of page
Putting it all together
Week 13
Topics
- Data Analysis from raw to report
Assignments
- We will work together in class to do a complete analysis in real-time
Resources
Practice
- Analyze the “esoph” data set and generate a markdown report
Back to top of page
Week 14
Topics
- Building a website with GitHub and R-Markdown
Assignments
- Work on Final Project
- Create a GitHub Personal Website
- Upload a brief CV and the updated (improved) html of Assignment 9 to your new website
Resources
Practice
- Go through my course website repository (link above) and try to relate the code there to the html version of the website your internet browser is displays
Back to top of page
Week 15
Topics
Assignments
Back to top of page
Week 16
Topics
Assignments
- Exam 4 (Redo any previous exam to replace it’s score)
Back to top of page
‘Luck is statistics taken personally.’ – Penn Jillette